<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::HOGDescriptor Struct Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html">HOGDescriptor</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="../../dd/dfb/structcv_1_1HOGDescriptor-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::HOGDescriptor Struct Reference<div class="ingroups"><a class="el" href="../../d5/d54/group__objdetect.html">Object Detection</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector.  
 <a href="../../d5/d33/structcv_1_1HOGDescriptor.html#details">More...</a></p>

<p><code>#include &lt;opencv2/objdetect.hpp&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a039750de6a0c2957d11fbeec84cfc7e1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a039750de6a0c2957d11fbeec84cfc7e1a00a697fa3ad742792128a39785a60ed2">DEFAULT_NLEVELS</a> = 64
 }</td></tr>
<tr class="separator:a039750de6a0c2957d11fbeec84cfc7e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0931e149238b27ba63357cbde12dcf1a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a0931e149238b27ba63357cbde12dcf1a">DescriptorStorageFormat</a> { <br />
&#160;&#160;<a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a0931e149238b27ba63357cbde12dcf1aae896332fd7b76bda217f50049f74d4db">DESCR_FORMAT_COL_BY_COL</a>, 
<br />
&#160;&#160;<a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a0931e149238b27ba63357cbde12dcf1aa1a8f620a538dee55bf8c8d0c06fb62aa">DESCR_FORMAT_ROW_BY_ROW</a>
<br />
 }</td></tr>
<tr class="separator:a0931e149238b27ba63357cbde12dcf1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf697bc744e0c0b561fa09099bb56ed8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aaf697bc744e0c0b561fa09099bb56ed8">HistogramNormType</a> { <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aaf697bc744e0c0b561fa09099bb56ed8ac5abac3eda715a05d1ce29512d7f17bf">L2Hys</a> = 0
 }</td></tr>
<tr class="separator:aaf697bc744e0c0b561fa09099bb56ed8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a723b95b709cfd3f95cf9e616de988fc8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a723b95b709cfd3f95cf9e616de988fc8">HOGDescriptor</a> ()</td></tr>
<tr class="memdesc:a723b95b709cfd3f95cf9e616de988fc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates the HOG descriptor and detector with default params.  <a href="#a723b95b709cfd3f95cf9e616de988fc8">More...</a><br /></td></tr>
<tr class="separator:a723b95b709cfd3f95cf9e616de988fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c8e8ce0578512fe80493ed3ed88ca83"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a5c8e8ce0578512fe80493ed3ed88ca83">HOGDescriptor</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> _winSize, <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> _blockSize, <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> _blockStride, <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> _cellSize, int _nbins, int _derivAperture=1, double _winSigma=-1, <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aaf697bc744e0c0b561fa09099bb56ed8">HOGDescriptor::HistogramNormType</a> _histogramNormType=<a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aaf697bc744e0c0b561fa09099bb56ed8ac5abac3eda715a05d1ce29512d7f17bf">HOGDescriptor::L2Hys</a>, double _L2HysThreshold=0.2, bool _gammaCorrection=false, int _nlevels=<a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a039750de6a0c2957d11fbeec84cfc7e1a00a697fa3ad742792128a39785a60ed2">HOGDescriptor::DEFAULT_NLEVELS</a>, bool _signedGradient=false)</td></tr>
<tr class="separator:a5c8e8ce0578512fe80493ed3ed88ca83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32a635936edaed1b2789caf3dcb09b6e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a32a635936edaed1b2789caf3dcb09b6e">HOGDescriptor</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename)</td></tr>
<tr class="separator:a32a635936edaed1b2789caf3dcb09b6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb90ac4bb8220c44bb5a7e796113e51e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#abb90ac4bb8220c44bb5a7e796113e51e">HOGDescriptor</a> (const <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html">HOGDescriptor</a> &amp;d)</td></tr>
<tr class="separator:abb90ac4bb8220c44bb5a7e796113e51e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73cf07abfa064f47a53b7c66b18e55b2"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a73cf07abfa064f47a53b7c66b18e55b2">~HOGDescriptor</a> ()</td></tr>
<tr class="memdesc:a73cf07abfa064f47a53b7c66b18e55b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor.  <a href="#a73cf07abfa064f47a53b7c66b18e55b2">More...</a><br /></td></tr>
<tr class="separator:a73cf07abfa064f47a53b7c66b18e55b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c6715965fab466de041ad2a39765478"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a5c6715965fab466de041ad2a39765478">checkDetectorSize</a> () const</td></tr>
<tr class="memdesc:a5c6715965fab466de041ad2a39765478"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if detector size equal to descriptor size.  <a href="#a5c6715965fab466de041ad2a39765478">More...</a><br /></td></tr>
<tr class="separator:a5c6715965fab466de041ad2a39765478"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38cd712cd5a6d9ed0344731fcd121e8b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a38cd712cd5a6d9ed0344731fcd121e8b">compute</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> img, std::vector&lt; float &gt; &amp;descriptors, <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> winStride=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> padding=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;locations=std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt;()) const</td></tr>
<tr class="memdesc:a38cd712cd5a6d9ed0344731fcd121e8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes HOG descriptors of given image.  <a href="#a38cd712cd5a6d9ed0344731fcd121e8b">More...</a><br /></td></tr>
<tr class="separator:a38cd712cd5a6d9ed0344731fcd121e8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f76c51c08d69f2b8a0f079efc4bd093"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a1f76c51c08d69f2b8a0f079efc4bd093">computeGradient</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> img, <a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a> grad, <a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a> angleOfs, <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> paddingTL=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> paddingBR=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()) const</td></tr>
<tr class="memdesc:a1f76c51c08d69f2b8a0f079efc4bd093"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes gradients and quantized gradient orientations.  <a href="#a1f76c51c08d69f2b8a0f079efc4bd093">More...</a><br /></td></tr>
<tr class="separator:a1f76c51c08d69f2b8a0f079efc4bd093"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab133c13641d53944f48bb925f6d96cb1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#ab133c13641d53944f48bb925f6d96cb1">copyTo</a> (<a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html">HOGDescriptor</a> &amp;c) const</td></tr>
<tr class="memdesc:ab133c13641d53944f48bb925f6d96cb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">clones the <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a>  <a href="#ab133c13641d53944f48bb925f6d96cb1">More...</a><br /></td></tr>
<tr class="separator:ab133c13641d53944f48bb925f6d96cb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5851df61c5b95391533144c078403672"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a5851df61c5b95391533144c078403672">detect</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> img, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;foundLocations, std::vector&lt; double &gt; &amp;weights, double hitThreshold=0, <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> winStride=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> padding=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;searchLocations=std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt;()) const</td></tr>
<tr class="memdesc:a5851df61c5b95391533144c078403672"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs object detection without a multi-scale window.  <a href="#a5851df61c5b95391533144c078403672">More...</a><br /></td></tr>
<tr class="separator:a5851df61c5b95391533144c078403672"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a309829908ffaf4645755729d7aa90627"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a309829908ffaf4645755729d7aa90627">detect</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> img, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;foundLocations, double hitThreshold=0, <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> winStride=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> padding=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;searchLocations=std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt;()) const</td></tr>
<tr class="memdesc:a309829908ffaf4645755729d7aa90627"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs object detection without a multi-scale window.  <a href="#a309829908ffaf4645755729d7aa90627">More...</a><br /></td></tr>
<tr class="separator:a309829908ffaf4645755729d7aa90627"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91e56a2c317392e50fbaa2f5dc78d30b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a91e56a2c317392e50fbaa2f5dc78d30b">detectMultiScale</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> img, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &gt; &amp;foundLocations, std::vector&lt; double &gt; &amp;foundWeights, double hitThreshold=0, <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> winStride=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> padding=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), double scale=1.05, double finalThreshold=2.0, bool useMeanshiftGrouping=false) const</td></tr>
<tr class="memdesc:a91e56a2c317392e50fbaa2f5dc78d30b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.  <a href="#a91e56a2c317392e50fbaa2f5dc78d30b">More...</a><br /></td></tr>
<tr class="separator:a91e56a2c317392e50fbaa2f5dc78d30b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a660e5cd036fd5ddf0f5767b352acd948"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a660e5cd036fd5ddf0f5767b352acd948">detectMultiScale</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> img, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &gt; &amp;foundLocations, double hitThreshold=0, <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> winStride=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> padding=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), double scale=1.05, double finalThreshold=2.0, bool useMeanshiftGrouping=false) const</td></tr>
<tr class="memdesc:a660e5cd036fd5ddf0f5767b352acd948"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.  <a href="#a660e5cd036fd5ddf0f5767b352acd948">More...</a><br /></td></tr>
<tr class="separator:a660e5cd036fd5ddf0f5767b352acd948"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40aabc4ac4dbab3a855ae9182b91ef73"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a40aabc4ac4dbab3a855ae9182b91ef73">detectMultiScaleROI</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> img, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">cv::Rect</a> &gt; &amp;foundLocations, std::vector&lt; <a class="el" href="../../d3/d34/structcv_1_1DetectionROI.html">DetectionROI</a> &gt; &amp;locations, double hitThreshold=0, int groupThreshold=0) const</td></tr>
<tr class="memdesc:a40aabc4ac4dbab3a855ae9182b91ef73"><td class="mdescLeft">&#160;</td><td class="mdescRight">evaluate specified ROI and return confidence value for each location in multiple scales  <a href="#a40aabc4ac4dbab3a855ae9182b91ef73">More...</a><br /></td></tr>
<tr class="separator:a40aabc4ac4dbab3a855ae9182b91ef73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26a3085d2f461f22b98c7b6066f51d3e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a26a3085d2f461f22b98c7b6066f51d3e">detectROI</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> img, const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">cv::Point</a> &gt; &amp;locations, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">cv::Point</a> &gt; &amp;foundLocations, std::vector&lt; double &gt; &amp;confidences, double hitThreshold=0, <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">cv::Size</a> winStride=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>(), <a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">cv::Size</a> padding=<a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()) const</td></tr>
<tr class="memdesc:a26a3085d2f461f22b98c7b6066f51d3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">evaluate specified ROI and return confidence value for each location  <a href="#a26a3085d2f461f22b98c7b6066f51d3e">More...</a><br /></td></tr>
<tr class="separator:a26a3085d2f461f22b98c7b6066f51d3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a437dcb4d9b539a0035fb1f63946daa1b"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a437dcb4d9b539a0035fb1f63946daa1b">getDescriptorSize</a> () const</td></tr>
<tr class="memdesc:a437dcb4d9b539a0035fb1f63946daa1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of coefficients required for the classification.  <a href="#a437dcb4d9b539a0035fb1f63946daa1b">More...</a><br /></td></tr>
<tr class="separator:a437dcb4d9b539a0035fb1f63946daa1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe0058890e561cde3ab451f9e097787e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#afe0058890e561cde3ab451f9e097787e">getWinSigma</a> () const</td></tr>
<tr class="memdesc:afe0058890e561cde3ab451f9e097787e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns winSigma value.  <a href="#afe0058890e561cde3ab451f9e097787e">More...</a><br /></td></tr>
<tr class="separator:afe0058890e561cde3ab451f9e097787e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7c9679b23e8476e332e9114181d656d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#ad7c9679b23e8476e332e9114181d656d">groupRectangles</a> (std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">cv::Rect</a> &gt; &amp;rectList, std::vector&lt; double &gt; &amp;weights, int groupThreshold, double eps) const</td></tr>
<tr class="memdesc:ad7c9679b23e8476e332e9114181d656d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Groups the object candidate rectangles.  <a href="#ad7c9679b23e8476e332e9114181d656d">More...</a><br /></td></tr>
<tr class="separator:ad7c9679b23e8476e332e9114181d656d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a957f55d36ba2f1a2ae47883c11f4b730"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a957f55d36ba2f1a2ae47883c11f4b730">load</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a957f55d36ba2f1a2ae47883c11f4b730"><td class="mdescLeft">&#160;</td><td class="mdescRight">loads <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> parameters and coefficients for the linear SVM classifier from a file.  <a href="#a957f55d36ba2f1a2ae47883c11f4b730">More...</a><br /></td></tr>
<tr class="separator:a957f55d36ba2f1a2ae47883c11f4b730"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a237a16a0646dc7a0dbecc52a93480aeb"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a237a16a0646dc7a0dbecc52a93480aeb">read</a> (<a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;fn)</td></tr>
<tr class="memdesc:a237a16a0646dc7a0dbecc52a93480aeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> parameters from a <a class="el" href="../../de/dd9/classcv_1_1FileNode.html" title="File Storage Node class. ">cv::FileNode</a>.  <a href="#a237a16a0646dc7a0dbecc52a93480aeb">More...</a><br /></td></tr>
<tr class="separator:a237a16a0646dc7a0dbecc52a93480aeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44f2566a83049536a2879f37c977c7fd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a44f2566a83049536a2879f37c977c7fd">save</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()) const</td></tr>
<tr class="memdesc:a44f2566a83049536a2879f37c977c7fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">saves <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> parameters and coefficients for the linear SVM classifier to a file  <a href="#a44f2566a83049536a2879f37c977c7fd">More...</a><br /></td></tr>
<tr class="separator:a44f2566a83049536a2879f37c977c7fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6de5ac55631eed51e36278cde3a2c159"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a6de5ac55631eed51e36278cde3a2c159">setSVMDetector</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> svmdetector)</td></tr>
<tr class="memdesc:a6de5ac55631eed51e36278cde3a2c159"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets coefficients for the linear SVM classifier.  <a href="#a6de5ac55631eed51e36278cde3a2c159">More...</a><br /></td></tr>
<tr class="separator:a6de5ac55631eed51e36278cde3a2c159"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c13c67988147921d6ba313e15de5fda"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a2c13c67988147921d6ba313e15de5fda">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname) const</td></tr>
<tr class="memdesc:a2c13c67988147921d6ba313e15de5fda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> parameters in a <a class="el" href="../../da/d56/classcv_1_1FileStorage.html" title="XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or readi...">cv::FileStorage</a>.  <a href="#a2c13c67988147921d6ba313e15de5fda">More...</a><br /></td></tr>
<tr class="separator:a2c13c67988147921d6ba313e15de5fda"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aaeea9fb691568ef5d4537f0cb688176d"><td class="memItemLeft" align="right" valign="top">static std::vector&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aaeea9fb691568ef5d4537f0cb688176d">getDaimlerPeopleDetector</a> ()</td></tr>
<tr class="memdesc:aaeea9fb691568ef5d4537f0cb688176d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns coefficients of the classifier trained for people detection (for 48x96 windows).  <a href="#aaeea9fb691568ef5d4537f0cb688176d">More...</a><br /></td></tr>
<tr class="separator:aaeea9fb691568ef5d4537f0cb688176d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c7a0b2aa72cf39b4b32b3eddea78203"><td class="memItemLeft" align="right" valign="top">static std::vector&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a9c7a0b2aa72cf39b4b32b3eddea78203">getDefaultPeopleDetector</a> ()</td></tr>
<tr class="memdesc:a9c7a0b2aa72cf39b4b32b3eddea78203"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns coefficients of the classifier trained for people detection (for 64x128 windows).  <a href="#a9c7a0b2aa72cf39b4b32b3eddea78203">More...</a><br /></td></tr>
<tr class="separator:a9c7a0b2aa72cf39b4b32b3eddea78203"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a847f3d42f1cf72897d5263fe3217a36d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a847f3d42f1cf72897d5263fe3217a36d">blockSize</a></td></tr>
<tr class="memdesc:a847f3d42f1cf72897d5263fe3217a36d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Block size in pixels. Align to cell size. Default value is Size(16,16).  <a href="#a847f3d42f1cf72897d5263fe3217a36d">More...</a><br /></td></tr>
<tr class="separator:a847f3d42f1cf72897d5263fe3217a36d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac272d532e2a672f302e9a5eab7ca1055"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#ac272d532e2a672f302e9a5eab7ca1055">blockStride</a></td></tr>
<tr class="memdesc:ac272d532e2a672f302e9a5eab7ca1055"><td class="mdescLeft">&#160;</td><td class="mdescRight">Block stride. It must be a multiple of cell size. Default value is Size(8,8).  <a href="#ac272d532e2a672f302e9a5eab7ca1055">More...</a><br /></td></tr>
<tr class="separator:ac272d532e2a672f302e9a5eab7ca1055"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ef930c38e2b0cfcd5e5252989e056ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a5ef930c38e2b0cfcd5e5252989e056ad">cellSize</a></td></tr>
<tr class="memdesc:a5ef930c38e2b0cfcd5e5252989e056ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cell size. Default value is Size(8,8).  <a href="#a5ef930c38e2b0cfcd5e5252989e056ad">More...</a><br /></td></tr>
<tr class="separator:a5ef930c38e2b0cfcd5e5252989e056ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a128efda1c45dee2a989547c7b41e6a95"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a128efda1c45dee2a989547c7b41e6a95">derivAperture</a></td></tr>
<tr class="memdesc:a128efda1c45dee2a989547c7b41e6a95"><td class="mdescLeft">&#160;</td><td class="mdescRight">not documented  <a href="#a128efda1c45dee2a989547c7b41e6a95">More...</a><br /></td></tr>
<tr class="separator:a128efda1c45dee2a989547c7b41e6a95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56f6acc89453e032e34ed32cef8ba8ce"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a56f6acc89453e032e34ed32cef8ba8ce">free_coef</a></td></tr>
<tr class="memdesc:a56f6acc89453e032e34ed32cef8ba8ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">not documented  <a href="#a56f6acc89453e032e34ed32cef8ba8ce">More...</a><br /></td></tr>
<tr class="separator:a56f6acc89453e032e34ed32cef8ba8ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dc72b5092c9cec54f380252b125046c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a7dc72b5092c9cec54f380252b125046c">gammaCorrection</a></td></tr>
<tr class="memdesc:a7dc72b5092c9cec54f380252b125046c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag to specify whether the gamma correction preprocessing is required or not.  <a href="#a7dc72b5092c9cec54f380252b125046c">More...</a><br /></td></tr>
<tr class="separator:a7dc72b5092c9cec54f380252b125046c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03bb4bba3f3af82fc2674e4c3d7feb89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aaf697bc744e0c0b561fa09099bb56ed8">HOGDescriptor::HistogramNormType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a03bb4bba3f3af82fc2674e4c3d7feb89">histogramNormType</a></td></tr>
<tr class="memdesc:a03bb4bba3f3af82fc2674e4c3d7feb89"><td class="mdescLeft">&#160;</td><td class="mdescRight">histogramNormType  <a href="#a03bb4bba3f3af82fc2674e4c3d7feb89">More...</a><br /></td></tr>
<tr class="separator:a03bb4bba3f3af82fc2674e4c3d7feb89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26322828ab7a936a74e321f9c049a906"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a26322828ab7a936a74e321f9c049a906">L2HysThreshold</a></td></tr>
<tr class="memdesc:a26322828ab7a936a74e321f9c049a906"><td class="mdescLeft">&#160;</td><td class="mdescRight">L2-Hys normalization method shrinkage.  <a href="#a26322828ab7a936a74e321f9c049a906">More...</a><br /></td></tr>
<tr class="separator:a26322828ab7a936a74e321f9c049a906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1eda37f2e10b14bcd51a9014409b8d3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#ab1eda37f2e10b14bcd51a9014409b8d3">nbins</a></td></tr>
<tr class="memdesc:ab1eda37f2e10b14bcd51a9014409b8d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bins used in the calculation of histogram of gradients. Default value is 9.  <a href="#ab1eda37f2e10b14bcd51a9014409b8d3">More...</a><br /></td></tr>
<tr class="separator:ab1eda37f2e10b14bcd51a9014409b8d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94a54b27a5d707796c4fa56766497b5f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a94a54b27a5d707796c4fa56766497b5f">nlevels</a></td></tr>
<tr class="memdesc:a94a54b27a5d707796c4fa56766497b5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of detection window increases. Default value is 64.  <a href="#a94a54b27a5d707796c4fa56766497b5f">More...</a><br /></td></tr>
<tr class="separator:a94a54b27a5d707796c4fa56766497b5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42bb83b4d03a8ead9d54e8c5c8463076"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a42bb83b4d03a8ead9d54e8c5c8463076">oclSvmDetector</a></td></tr>
<tr class="memdesc:a42bb83b4d03a8ead9d54e8c5c8463076"><td class="mdescLeft">&#160;</td><td class="mdescRight">coefficients for the linear SVM classifier used when OpenCL is enabled  <a href="#a42bb83b4d03a8ead9d54e8c5c8463076">More...</a><br /></td></tr>
<tr class="separator:a42bb83b4d03a8ead9d54e8c5c8463076"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c2f2db8693dbec32092bc659d25c9b9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a0c2f2db8693dbec32092bc659d25c9b9">signedGradient</a></td></tr>
<tr class="memdesc:a0c2f2db8693dbec32092bc659d25c9b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates signed gradient will be used or not.  <a href="#a0c2f2db8693dbec32092bc659d25c9b9">More...</a><br /></td></tr>
<tr class="separator:a0c2f2db8693dbec32092bc659d25c9b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a904130d56281ba264e097e9895c648f5"><td class="memItemLeft" align="right" valign="top">std::vector&lt; float &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a904130d56281ba264e097e9895c648f5">svmDetector</a></td></tr>
<tr class="memdesc:a904130d56281ba264e097e9895c648f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">coefficients for the linear SVM classifier.  <a href="#a904130d56281ba264e097e9895c648f5">More...</a><br /></td></tr>
<tr class="separator:a904130d56281ba264e097e9895c648f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa63743f4aca740e3fdefd0ca767b8ab9"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aa63743f4aca740e3fdefd0ca767b8ab9">winSigma</a></td></tr>
<tr class="memdesc:aa63743f4aca740e3fdefd0ca767b8ab9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gaussian smoothing window parameter.  <a href="#aa63743f4aca740e3fdefd0ca767b8ab9">More...</a><br /></td></tr>
<tr class="separator:aa63743f4aca740e3fdefd0ca767b8ab9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75329167dfdacde41b488e091dd555d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a75329167dfdacde41b488e091dd555d1">winSize</a></td></tr>
<tr class="memdesc:a75329167dfdacde41b488e091dd555d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detection window size. Align to block size and block stride. Default value is Size(64,128).  <a href="#a75329167dfdacde41b488e091dd555d1">More...</a><br /></td></tr>
<tr class="separator:a75329167dfdacde41b488e091dd555d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. </p>
<p>the HOG descriptor algorithm introduced by Navneet Dalal and Bill Triggs <a class="el" href="../../d0/de3/citelist.html#CITEREF_Dalal2005">[50]</a> .</p>
<p>useful links:</p>
<p><a href="https://hal.inria.fr/inria-00548512/document/">https://hal.inria.fr/inria-00548512/document/</a></p>
<p><a href="https://en.wikipedia.org/wiki/Histogram_of_oriented_gradients">https://en.wikipedia.org/wiki/Histogram_of_oriented_gradients</a></p>
<p><a href="https://software.intel.com/en-us/ipp-dev-reference-histogram-of-oriented-gradients-hog-descriptor">https://software.intel.com/en-us/ipp-dev-reference-histogram-of-oriented-gradients-hog-descriptor</a></p>
<p><a href="http://www.learnopencv.com/histogram-of-oriented-gradients">http://www.learnopencv.com/histogram-of-oriented-gradients</a></p>
<p><a href="http://www.learnopencv.com/handwritten-digits-classification-an-opencv-c-python-tutorial">http://www.learnopencv.com/handwritten-digits-classification-an-opencv-c-python-tutorial</a> </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../df/d54/samples_2cpp_2peopledetect_8cpp-example.html#_a0">samples/cpp/peopledetect.cpp</a>, <a class="el" href="../../d0/df8/samples_2cpp_2train_HOG_8cpp-example.html#_a29">samples/cpp/train_HOG.cpp</a>, and <a class="el" href="../../d8/d61/samples_2tapi_2hog_8cpp-example.html#_a10">samples/tapi/hog.cpp</a>.</dd>
</dl></div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a039750de6a0c2957d11fbeec84cfc7e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a039750de6a0c2957d11fbeec84cfc7e1">&#9670;&nbsp;</a></span>anonymous enum</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a039750de6a0c2957d11fbeec84cfc7e1a00a697fa3ad742792128a39785a60ed2"></a>DEFAULT_NLEVELS&#160;</td><td class="fielddoc"><p>Default nlevels value. </p>
</td></tr>
</table>

</div>
</div>
<a id="a0931e149238b27ba63357cbde12dcf1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0931e149238b27ba63357cbde12dcf1a">&#9670;&nbsp;</a></span>DescriptorStorageFormat</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a0931e149238b27ba63357cbde12dcf1a">cv::HOGDescriptor::DescriptorStorageFormat</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a0931e149238b27ba63357cbde12dcf1aae896332fd7b76bda217f50049f74d4db"></a>DESCR_FORMAT_COL_BY_COL&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a0931e149238b27ba63357cbde12dcf1aa1a8f620a538dee55bf8c8d0c06fb62aa"></a>DESCR_FORMAT_ROW_BY_ROW&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<a id="aaf697bc744e0c0b561fa09099bb56ed8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf697bc744e0c0b561fa09099bb56ed8">&#9670;&nbsp;</a></span>HistogramNormType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aaf697bc744e0c0b561fa09099bb56ed8">cv::HOGDescriptor::HistogramNormType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aaf697bc744e0c0b561fa09099bb56ed8ac5abac3eda715a05d1ce29512d7f17bf"></a>L2Hys&#160;</td><td class="fielddoc"><p>Default histogramNormType. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a723b95b709cfd3f95cf9e616de988fc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a723b95b709cfd3f95cf9e616de988fc8">&#9670;&nbsp;</a></span>HOGDescriptor() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cv::HOGDescriptor::HOGDescriptor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates the HOG descriptor and detector with default params. </p>
<p>aqual to <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a>(Size(64,128), Size(16,16), Size(8,8), Size(8,8), 9 ) </p>

</div>
</div>
<a id="a5c8e8ce0578512fe80493ed3ed88ca83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c8e8ce0578512fe80493ed3ed88ca83">&#9670;&nbsp;</a></span>HOGDescriptor() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cv::HOGDescriptor::HOGDescriptor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>_winSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>_blockSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>_blockStride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>_cellSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>_nbins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>_derivAperture</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>_winSigma</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aaf697bc744e0c0b561fa09099bb56ed8">HOGDescriptor::HistogramNormType</a>&#160;</td>
          <td class="paramname"><em>_histogramNormType</em> = <code><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aaf697bc744e0c0b561fa09099bb56ed8ac5abac3eda715a05d1ce29512d7f17bf">HOGDescriptor::L2Hys</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>_L2HysThreshold</em> = <code>0.2</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>_gammaCorrection</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>_nlevels</em> = <code><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#a039750de6a0c2957d11fbeec84cfc7e1a00a697fa3ad742792128a39785a60ed2">HOGDescriptor::DEFAULT_NLEVELS</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>_signedGradient</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">_winSize</td><td>sets winSize with given value. </td></tr>
    <tr><td class="paramname">_blockSize</td><td>sets blockSize with given value. </td></tr>
    <tr><td class="paramname">_blockStride</td><td>sets blockStride with given value. </td></tr>
    <tr><td class="paramname">_cellSize</td><td>sets cellSize with given value. </td></tr>
    <tr><td class="paramname">_nbins</td><td>sets nbins with given value. </td></tr>
    <tr><td class="paramname">_derivAperture</td><td>sets derivAperture with given value. </td></tr>
    <tr><td class="paramname">_winSigma</td><td>sets winSigma with given value. </td></tr>
    <tr><td class="paramname">_histogramNormType</td><td>sets histogramNormType with given value. </td></tr>
    <tr><td class="paramname">_L2HysThreshold</td><td>sets L2HysThreshold with given value. </td></tr>
    <tr><td class="paramname">_gammaCorrection</td><td>sets gammaCorrection with given value. </td></tr>
    <tr><td class="paramname">_nlevels</td><td>sets nlevels with given value. </td></tr>
    <tr><td class="paramname">_signedGradient</td><td>sets signedGradient with given value. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a32a635936edaed1b2789caf3dcb09b6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32a635936edaed1b2789caf3dcb09b6e">&#9670;&nbsp;</a></span>HOGDescriptor() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cv::HOGDescriptor::HOGDescriptor </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>The file name containing <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> properties and coefficients for the linear SVM classifier. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abb90ac4bb8220c44bb5a7e796113e51e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb90ac4bb8220c44bb5a7e796113e51e">&#9670;&nbsp;</a></span>HOGDescriptor() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cv::HOGDescriptor::HOGDescriptor </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html">HOGDescriptor</a> &amp;&#160;</td>
          <td class="paramname"><em>d</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">d</td><td>the <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> which cloned to create a new one. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a73cf07abfa064f47a53b7c66b18e55b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73cf07abfa064f47a53b7c66b18e55b2">&#9670;&nbsp;</a></span>~HOGDescriptor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual cv::HOGDescriptor::~HOGDescriptor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5c6715965fab466de041ad2a39765478"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c6715965fab466de041ad2a39765478">&#9670;&nbsp;</a></span>checkDetectorSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::HOGDescriptor::checkDetectorSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if detector size equal to descriptor size. </p>

</div>
</div>
<a id="a38cd712cd5a6d9ed0344731fcd121e8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38cd712cd5a6d9ed0344731fcd121e8b">&#9670;&nbsp;</a></span>compute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::compute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; float &gt; &amp;&#160;</td>
          <td class="paramname"><em>descriptors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>winStride</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>padding</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>locations</em> = <code>std::vector&lt;&#160;<a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a>&#160;&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes HOG descriptors of given image. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>Matrix of the type CV_8U containing an image where HOG features will be calculated. </td></tr>
    <tr><td class="paramname">descriptors</td><td>Matrix of the type CV_32F </td></tr>
    <tr><td class="paramname">winStride</td><td>Window stride. It must be a multiple of block stride. </td></tr>
    <tr><td class="paramname">padding</td><td>Padding </td></tr>
    <tr><td class="paramname">locations</td><td>Vector of Point </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d0/df8/samples_2cpp_2train_HOG_8cpp-example.html#a34">samples/cpp/train_HOG.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a1f76c51c08d69f2b8a0f079efc4bd093"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f76c51c08d69f2b8a0f079efc4bd093">&#9670;&nbsp;</a></span>computeGradient()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::computeGradient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a>&#160;</td>
          <td class="paramname"><em>grad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a>&#160;</td>
          <td class="paramname"><em>angleOfs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>paddingTL</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>paddingBR</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes gradients and quantized gradient orientations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>Matrix contains the image to be computed </td></tr>
    <tr><td class="paramname">grad</td><td>Matrix of type CV_32FC2 contains computed gradients </td></tr>
    <tr><td class="paramname">angleOfs</td><td>Matrix of type CV_8UC2 contains quantized gradient orientations </td></tr>
    <tr><td class="paramname">paddingTL</td><td>Padding from top-left </td></tr>
    <tr><td class="paramname">paddingBR</td><td>Padding from bottom-right </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab133c13641d53944f48bb925f6d96cb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab133c13641d53944f48bb925f6d96cb1">&#9670;&nbsp;</a></span>copyTo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::copyTo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html">HOGDescriptor</a> &amp;&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>clones the <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>cloned <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5851df61c5b95391533144c078403672"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5851df61c5b95391533144c078403672">&#9670;&nbsp;</a></span>detect() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::detect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>foundLocations</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>weights</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>hitThreshold</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>winStride</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>padding</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>searchLocations</em> = <code>std::vector&lt;&#160;<a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a>&#160;&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Performs object detection without a multi-scale window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>Matrix of the type CV_8U or CV_8UC3 containing an image where objects are detected. </td></tr>
    <tr><td class="paramname">foundLocations</td><td>Vector of point where each point contains left-top corner point of detected object boundaries. </td></tr>
    <tr><td class="paramname">weights</td><td>Vector that will contain confidence values for each detected object. </td></tr>
    <tr><td class="paramname">hitThreshold</td><td>Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specified in the detector coefficients (as the last free coefficient). But if the free coefficient is omitted (which is allowed), you can specify it manually here. </td></tr>
    <tr><td class="paramname">winStride</td><td>Window stride. It must be a multiple of block stride. </td></tr>
    <tr><td class="paramname">padding</td><td>Padding </td></tr>
    <tr><td class="paramname">searchLocations</td><td>Vector of Point includes set of requested locations to be evaluated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a309829908ffaf4645755729d7aa90627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a309829908ffaf4645755729d7aa90627">&#9670;&nbsp;</a></span>detect() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::detect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>foundLocations</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>hitThreshold</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>winStride</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>padding</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>searchLocations</em> = <code>std::vector&lt;&#160;<a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a>&#160;&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Performs object detection without a multi-scale window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>Matrix of the type CV_8U or CV_8UC3 containing an image where objects are detected. </td></tr>
    <tr><td class="paramname">foundLocations</td><td>Vector of point where each point contains left-top corner point of detected object boundaries. </td></tr>
    <tr><td class="paramname">hitThreshold</td><td>Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specified in the detector coefficients (as the last free coefficient). But if the free coefficient is omitted (which is allowed), you can specify it manually here. </td></tr>
    <tr><td class="paramname">winStride</td><td>Window stride. It must be a multiple of block stride. </td></tr>
    <tr><td class="paramname">padding</td><td>Padding </td></tr>
    <tr><td class="paramname">searchLocations</td><td>Vector of Point includes locations to search. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a91e56a2c317392e50fbaa2f5dc78d30b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91e56a2c317392e50fbaa2f5dc78d30b">&#9670;&nbsp;</a></span>detectMultiScale() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::detectMultiScale </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>foundLocations</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>foundWeights</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>hitThreshold</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>winStride</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>padding</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1.05</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>finalThreshold</em> = <code>2.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useMeanshiftGrouping</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>Matrix of the type CV_8U or CV_8UC3 containing an image where objects are detected. </td></tr>
    <tr><td class="paramname">foundLocations</td><td>Vector of rectangles where each rectangle contains the detected object. </td></tr>
    <tr><td class="paramname">foundWeights</td><td>Vector that will contain confidence values for each detected object. </td></tr>
    <tr><td class="paramname">hitThreshold</td><td>Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specified in the detector coefficients (as the last free coefficient). But if the free coefficient is omitted (which is allowed), you can specify it manually here. </td></tr>
    <tr><td class="paramname">winStride</td><td>Window stride. It must be a multiple of block stride. </td></tr>
    <tr><td class="paramname">padding</td><td>Padding </td></tr>
    <tr><td class="paramname">scale</td><td>Coefficient of the detection window increase. </td></tr>
    <tr><td class="paramname">finalThreshold</td><td>Final threshold </td></tr>
    <tr><td class="paramname">useMeanshiftGrouping</td><td>indicates grouping algorithm </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../df/d54/samples_2cpp_2peopledetect_8cpp-example.html#a6">samples/cpp/peopledetect.cpp</a>, <a class="el" href="../../d0/df8/samples_2cpp_2train_HOG_8cpp-example.html#a43">samples/cpp/train_HOG.cpp</a>, and <a class="el" href="../../d8/d61/samples_2tapi_2hog_8cpp-example.html#a30">samples/tapi/hog.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a660e5cd036fd5ddf0f5767b352acd948"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a660e5cd036fd5ddf0f5767b352acd948">&#9670;&nbsp;</a></span>detectMultiScale() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::detectMultiScale </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>foundLocations</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>hitThreshold</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>winStride</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>&#160;</td>
          <td class="paramname"><em>padding</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1.05</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>finalThreshold</em> = <code>2.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useMeanshiftGrouping</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>Matrix of the type CV_8U or CV_8UC3 containing an image where objects are detected. </td></tr>
    <tr><td class="paramname">foundLocations</td><td>Vector of rectangles where each rectangle contains the detected object. </td></tr>
    <tr><td class="paramname">hitThreshold</td><td>Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specified in the detector coefficients (as the last free coefficient). But if the free coefficient is omitted (which is allowed), you can specify it manually here. </td></tr>
    <tr><td class="paramname">winStride</td><td>Window stride. It must be a multiple of block stride. </td></tr>
    <tr><td class="paramname">padding</td><td>Padding </td></tr>
    <tr><td class="paramname">scale</td><td>Coefficient of the detection window increase. </td></tr>
    <tr><td class="paramname">finalThreshold</td><td>Final threshold </td></tr>
    <tr><td class="paramname">useMeanshiftGrouping</td><td>indicates grouping algorithm </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a40aabc4ac4dbab3a855ae9182b91ef73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40aabc4ac4dbab3a855ae9182b91ef73">&#9670;&nbsp;</a></span>detectMultiScaleROI()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::detectMultiScaleROI </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">cv::Rect</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>foundLocations</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../d3/d34/structcv_1_1DetectionROI.html">DetectionROI</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>locations</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>hitThreshold</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>groupThreshold</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>evaluate specified ROI and return confidence value for each location in multiple scales </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>Matrix of the type CV_8U or CV_8UC3 containing an image where objects are detected. </td></tr>
    <tr><td class="paramname">foundLocations</td><td>Vector of rectangles where each rectangle contains the detected object. </td></tr>
    <tr><td class="paramname">locations</td><td>Vector of <a class="el" href="../../d3/d34/structcv_1_1DetectionROI.html" title="struct for detection region of interest (ROI) ">DetectionROI</a> </td></tr>
    <tr><td class="paramname">hitThreshold</td><td>Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specified in the detector coefficients (as the last free coefficient). But if the free coefficient is omitted (which is allowed), you can specify it manually here. </td></tr>
    <tr><td class="paramname">groupThreshold</td><td>Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a26a3085d2f461f22b98c7b6066f51d3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26a3085d2f461f22b98c7b6066f51d3e">&#9670;&nbsp;</a></span>detectROI()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::detectROI </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">cv::Point</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>locations</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">cv::Point</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>foundLocations</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>confidences</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>hitThreshold</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">cv::Size</a>&#160;</td>
          <td class="paramname"><em>winStride</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">cv::Size</a>&#160;</td>
          <td class="paramname"><em>padding</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>evaluate specified ROI and return confidence value for each location </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>Matrix of the type CV_8U or CV_8UC3 containing an image where objects are detected. </td></tr>
    <tr><td class="paramname">locations</td><td>Vector of Point </td></tr>
    <tr><td class="paramname">foundLocations</td><td>Vector of Point where each Point is detected object's top-left point. </td></tr>
    <tr><td class="paramname">confidences</td><td>confidences </td></tr>
    <tr><td class="paramname">hitThreshold</td><td>Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specified in the detector coefficients (as the last free coefficient). But if the free coefficient is omitted (which is allowed), you can specify it manually here </td></tr>
    <tr><td class="paramname">winStride</td><td>winStride </td></tr>
    <tr><td class="paramname">padding</td><td>padding </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aaeea9fb691568ef5d4537f0cb688176d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaeea9fb691568ef5d4537f0cb688176d">&#9670;&nbsp;</a></span>getDaimlerPeopleDetector()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::vector&lt;float&gt; cv::HOGDescriptor::getDaimlerPeopleDetector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns coefficients of the classifier trained for people detection (for 48x96 windows). </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../df/d54/samples_2cpp_2peopledetect_8cpp-example.html#a4">samples/cpp/peopledetect.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a9c7a0b2aa72cf39b4b32b3eddea78203"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c7a0b2aa72cf39b4b32b3eddea78203">&#9670;&nbsp;</a></span>getDefaultPeopleDetector()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::vector&lt;float&gt; cv::HOGDescriptor::getDefaultPeopleDetector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns coefficients of the classifier trained for people detection (for 64x128 windows). </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../df/d54/samples_2cpp_2peopledetect_8cpp-example.html#a3">samples/cpp/peopledetect.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a437dcb4d9b539a0035fb1f63946daa1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a437dcb4d9b539a0035fb1f63946daa1b">&#9670;&nbsp;</a></span>getDescriptorSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t cv::HOGDescriptor::getDescriptorSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of coefficients required for the classification. </p>

</div>
</div>
<a id="afe0058890e561cde3ab451f9e097787e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe0058890e561cde3ab451f9e097787e">&#9670;&nbsp;</a></span>getWinSigma()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double cv::HOGDescriptor::getWinSigma </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns winSigma value. </p>

</div>
</div>
<a id="ad7c9679b23e8476e332e9114181d656d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7c9679b23e8476e332e9114181d656d">&#9670;&nbsp;</a></span>groupRectangles()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::HOGDescriptor::groupRectangles </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">cv::Rect</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>rectList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>weights</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>groupThreshold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>eps</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Groups the object candidate rectangles. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rectList</td><td>Input/output vector of rectangles. Output vector includes retained and grouped rectangles. (The Python list is not modified in place.) </td></tr>
    <tr><td class="paramname">weights</td><td>Input/output vector of weights of rectangles. Output vector includes weights of retained and grouped rectangles. (The Python list is not modified in place.) </td></tr>
    <tr><td class="paramname">groupThreshold</td><td>Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it. </td></tr>
    <tr><td class="paramname">eps</td><td>Relative difference between sides of the rectangles to merge them into a group. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a957f55d36ba2f1a2ae47883c11f4b730"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a957f55d36ba2f1a2ae47883c11f4b730">&#9670;&nbsp;</a></span>load()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool cv::HOGDescriptor::load </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;&#160;</td>
          <td class="paramname"><em>objname</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>loads <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> parameters and coefficients for the linear SVM classifier from a file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>Path of the file to read. </td></tr>
    <tr><td class="paramname">objname</td><td>The optional name of the node to read (if empty, the first top-level node will be used). </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d0/df8/samples_2cpp_2train_HOG_8cpp-example.html#a37">samples/cpp/train_HOG.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a237a16a0646dc7a0dbecc52a93480aeb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a237a16a0646dc7a0dbecc52a93480aeb">&#9670;&nbsp;</a></span>read()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool cv::HOGDescriptor::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;&#160;</td>
          <td class="paramname"><em>fn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reads <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> parameters from a <a class="el" href="../../de/dd9/classcv_1_1FileNode.html" title="File Storage Node class. ">cv::FileNode</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fn</td><td>File node </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a44f2566a83049536a2879f37c977c7fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44f2566a83049536a2879f37c977c7fd">&#9670;&nbsp;</a></span>save()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::save </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;&#160;</td>
          <td class="paramname"><em>objname</em> = <code><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>saves <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> parameters and coefficients for the linear SVM classifier to a file </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>File name </td></tr>
    <tr><td class="paramname">objname</td><td>Object name </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d0/df8/samples_2cpp_2train_HOG_8cpp-example.html#a58">samples/cpp/train_HOG.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a6de5ac55631eed51e36278cde3a2c159"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6de5ac55631eed51e36278cde3a2c159">&#9670;&nbsp;</a></span>setSVMDetector()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::setSVMDetector </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>&#160;</td>
          <td class="paramname"><em>svmdetector</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets coefficients for the linear SVM classifier. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">svmdetector</td><td>coefficients for the linear SVM classifier. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../df/d54/samples_2cpp_2peopledetect_8cpp-example.html#a2">samples/cpp/peopledetect.cpp</a>, <a class="el" href="../../d0/df8/samples_2cpp_2train_HOG_8cpp-example.html#a55">samples/cpp/train_HOG.cpp</a>, and <a class="el" href="../../d8/d61/samples_2tapi_2hog_8cpp-example.html#a13">samples/tapi/hog.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a2c13c67988147921d6ba313e15de5fda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c13c67988147921d6ba313e15de5fda">&#9670;&nbsp;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::HOGDescriptor::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;&#160;</td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;&#160;</td>
          <td class="paramname"><em>objname</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Stores <a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html" title="Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. ">HOGDescriptor</a> parameters in a <a class="el" href="../../da/d56/classcv_1_1FileStorage.html" title="XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or readi...">cv::FileStorage</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fs</td><td>File storage </td></tr>
    <tr><td class="paramname">objname</td><td>Object name </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a847f3d42f1cf72897d5263fe3217a36d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a847f3d42f1cf72897d5263fe3217a36d">&#9670;&nbsp;</a></span>blockSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> cv::HOGDescriptor::blockSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Block size in pixels. Align to cell size. Default value is Size(16,16). </p>

</div>
</div>
<a id="ac272d532e2a672f302e9a5eab7ca1055"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac272d532e2a672f302e9a5eab7ca1055">&#9670;&nbsp;</a></span>blockStride</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> cv::HOGDescriptor::blockStride</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Block stride. It must be a multiple of cell size. Default value is Size(8,8). </p>

</div>
</div>
<a id="a5ef930c38e2b0cfcd5e5252989e056ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ef930c38e2b0cfcd5e5252989e056ad">&#9670;&nbsp;</a></span>cellSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> cv::HOGDescriptor::cellSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Cell size. Default value is Size(8,8). </p>

</div>
</div>
<a id="a128efda1c45dee2a989547c7b41e6a95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a128efda1c45dee2a989547c7b41e6a95">&#9670;&nbsp;</a></span>derivAperture</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::HOGDescriptor::derivAperture</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>not documented </p>

</div>
</div>
<a id="a56f6acc89453e032e34ed32cef8ba8ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56f6acc89453e032e34ed32cef8ba8ce">&#9670;&nbsp;</a></span>free_coef</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float cv::HOGDescriptor::free_coef</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>not documented </p>

</div>
</div>
<a id="a7dc72b5092c9cec54f380252b125046c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dc72b5092c9cec54f380252b125046c">&#9670;&nbsp;</a></span>gammaCorrection</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::HOGDescriptor::gammaCorrection</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flag to specify whether the gamma correction preprocessing is required or not. </p>

</div>
</div>
<a id="a03bb4bba3f3af82fc2674e4c3d7feb89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03bb4bba3f3af82fc2674e4c3d7feb89">&#9670;&nbsp;</a></span>histogramNormType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d5/d33/structcv_1_1HOGDescriptor.html#aaf697bc744e0c0b561fa09099bb56ed8">HOGDescriptor::HistogramNormType</a> cv::HOGDescriptor::histogramNormType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>histogramNormType </p>

</div>
</div>
<a id="a26322828ab7a936a74e321f9c049a906"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26322828ab7a936a74e321f9c049a906">&#9670;&nbsp;</a></span>L2HysThreshold</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double cv::HOGDescriptor::L2HysThreshold</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>L2-Hys normalization method shrinkage. </p>

</div>
</div>
<a id="ab1eda37f2e10b14bcd51a9014409b8d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1eda37f2e10b14bcd51a9014409b8d3">&#9670;&nbsp;</a></span>nbins</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::HOGDescriptor::nbins</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of bins used in the calculation of histogram of gradients. Default value is 9. </p>

</div>
</div>
<a id="a94a54b27a5d707796c4fa56766497b5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94a54b27a5d707796c4fa56766497b5f">&#9670;&nbsp;</a></span>nlevels</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::HOGDescriptor::nlevels</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Maximum number of detection window increases. Default value is 64. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d8/d61/samples_2tapi_2hog_8cpp-example.html#a29">samples/tapi/hog.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a42bb83b4d03a8ead9d54e8c5c8463076"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42bb83b4d03a8ead9d54e8c5c8463076">&#9670;&nbsp;</a></span>oclSvmDetector</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> cv::HOGDescriptor::oclSvmDetector</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>coefficients for the linear SVM classifier used when OpenCL is enabled </p>

</div>
</div>
<a id="a0c2f2db8693dbec32092bc659d25c9b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c2f2db8693dbec32092bc659d25c9b9">&#9670;&nbsp;</a></span>signedGradient</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::HOGDescriptor::signedGradient</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indicates signed gradient will be used or not. </p>

</div>
</div>
<a id="a904130d56281ba264e097e9895c648f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a904130d56281ba264e097e9895c648f5">&#9670;&nbsp;</a></span>svmDetector</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;float&gt; cv::HOGDescriptor::svmDetector</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>coefficients for the linear SVM classifier. </p>

</div>
</div>
<a id="aa63743f4aca740e3fdefd0ca767b8ab9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa63743f4aca740e3fdefd0ca767b8ab9">&#9670;&nbsp;</a></span>winSigma</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double cv::HOGDescriptor::winSigma</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gaussian smoothing window parameter. </p>

</div>
</div>
<a id="a75329167dfdacde41b488e091dd555d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75329167dfdacde41b488e091dd555d1">&#9670;&nbsp;</a></span>winSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga346f563897249351a34549137c8532a0">Size</a> cv::HOGDescriptor::winSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Detection window size. Align to block size and block stride. Default value is Size(64,128). </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d0/df8/samples_2cpp_2train_HOG_8cpp-example.html#a30">samples/cpp/train_HOG.cpp</a>.</dd>
</dl>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>opencv2/<a class="el" href="../../d8/da3/objdetect_8hpp.html">objdetect.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:43 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
